﻿package mortal.game.view.heroArena.view
{
    import flash.events.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;

    public class HeroArenaApplySmallIcon extends HintBaseIcon
    {
        private static var _instance:HeroArenaApplySmallIcon;

        public function HeroArenaApplySmallIcon()
        {
            super(ImagesConst.HeroArenaApplyJoinTeamIcon);
            return;
        }// end function

        override protected function clickHandler(event:MouseEvent) : void
        {
            if (!HeroArenaApplyResponseWin.isViewShow())
            {
                HeroArenaApplyResponseWin.instance.show();
            }
            this.hide();
            return;
        }// end function

        public static function get instance() : HeroArenaApplySmallIcon
        {
            if (!_instance)
            {
                _instance = new HeroArenaApplySmallIcon;
            }
            return _instance;
        }// end function

    }
}
